package mypack.bean;

public class Counter {
	
	private int count;
	
	
	public Counter(int count){
		this.count = count;
	}
	public Counter(){
		this(0);
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
    public void addCount(int number){
    	count+=number;
    }
    public void addCount(){
    	count++;
    }
	
	
}
